/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const chartsRouter = {
  path: '/qnfa',
  component: Layout,
  redirect: '/qnfa/index',
  name: 'Charts',
  meta: {
    title: '群发管理',
    icon: 'chart'
  },
  children: [
    {
      path: '/qnfa/zyk',
      component: () => import('@/views/qnfa/zyk'),
      name: 'zyk',
      meta: {
        title: '资源库', icon: 'el-icon-s-platform'
      }
    },
    // {
    //   path: '/qnfa/drhy',
    //   component: () => import('@/views/qnfa/drhy'),
    //   name: 'drhy',
    //   meta: { title: '号码检测', icon: 'el-icon-picture' }
    // },
    {
      path: '/qnfa/qfrw',
      component: () => import('@/views/qnfa/qfrw'),
      name: 'qfrw',
      meta: {
        title: '群发任务', icon: 'el-icon-share'
      }
    },
    {
      path: '/qnfa/drqfrw',
      component: () => import('@/views/qnfa/drqfrw'),
      name: 'drqfrw',
      meta: {
        title: '导入群发', icon: 'el-icon-phone'
      }
    },
    {
      path: '/qnfa/zh',
      component: () => import('@/views/qnfa/zh'),
      name: 'zh',
      meta: { title: '打招呼', icon: 'el-icon-s-promotion' }
    },
    // {
    //   path: '/qnfa/index',
    //   component: () => import('@/views/qnfa/index'),
    //   name: 'index',
    //   meta: { title: '号池管理', icon: 'guide' }
    // }
  ]
}

export default chartsRouter
